<div *ngIf="hero">
  <h2>
    {{ hero.name | uppercase }} Details
  </h2>
  <button (click)='goBack()'>go back</button>
  <div><span>id: </span> {{ hero.id }} </div>
  <div>
    <label>name:
      <input [(ngModel)]="hero.name" placeholder="name" />
    </label>
  </div>
  <button (click)='save()'>save</button>
</div>